import request from '../utils/request.js'
//用户登陆
export const loginApi = (data) => {
  return request.post('/auth/login', data)
}

//用户信息
export const getUser = () => {
  return request.get('/auth/currentUser')
}